import { request } from 'ice';

export function login(value): Promise<{ token: string; username: string }> {
  return request.post('/users/login/', value);
}
